package com.sne.airways.customer.service;

import com.sne.airways.basecore.exceptions.AppException;
import com.sne.airways.customer.dto.TdCustDTO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-12-22
 * Time: 下午6:07
 * To change this template use File | Settings | File Templates.
 */
public interface CustService {

    public List<TdCustDTO> queryCustList(int start,int limit,String custName,String custPhone,String custType) throws AppException;

    public Integer queryCustCount(String custName,String custPhone,String custType) throws AppException;

    public void custSave(String custName,String custRIF,String custCode,String enName,String phone,String custType,String hsCode
                            ,String EDICode,String fax,String tix,String email,String contract,String address,String level,int limitContract
                            ,String status,String remark,int version)throws AppException;

    public void custUpdate(String custId,String custName,String custRIF,String custCode,String enName,String phone,String custType,String hsCode
                            ,String EDICode,String fax,String tix,String email,String contract,String address,String level,int limitContract
                            ,String status,String remark,int version)throws AppException;
    public void custDel(String custId,int version)throws AppException;
}
